/* 外壳样式 */
.test{
  background-color: #DEEDCC
}

.pic-details-demo-wrapper {
  position: relative;
  background: #DEEDCC;
  overflow: hidden;
  height: 500px;
}

.pic-details-demo {
  margin: 40px auto;
  box-shadow: 0 10px 40px #C7D7B5;
  width: 60%;
  min-width: 550px;
  height: 420px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.pic-details-demo-header {
  height: 32px;
  line-height: 32px;
  background: #000;
}

.pic-details-demo-header ul li {
  list-style: none;
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 4px;
  margin: 0 5px 0 0;
}

.pic-details-demo-header ul li:nth-child(1) {
  background: #CF3333;
  margin-left: 3%;
}

.pic-details-demo-header ul li:nth-child(2) {
  background: #DEC811;
}

.pic-details-demo-header ul li:nth-child(3) {
  background: #28C026;
}

.pic-details-demo-header ul li:nth-child(4) {
  background: #fff;
  width: 80%;
  height: 16px;
  vertical-align: middle;
  margin: 0 10px;
}

.pic-details-demo-header ul li:nth-child(5),
.pic-details-demo-header ul li:nth-child(5):before,
.pic-details-demo-header ul li:nth-child(5):after {
  width: 20px;
  height: 2px;
  background: #BABABA;
  border-radius: 2px;
}

.pic-details-demo-header ul li:nth-child(5) {
  vertical-align: middle;
  margin-left: 5px;
  position: relative;
}

.pic-details-demo-header ul li:nth-child(5):before,
.pic-details-demo-header ul li:nth-child(5):after {
  content: '';
  display: block;
  position: absolute;
}

.pic-details-demo-header ul li:nth-child(5):before {
  top: -6px;
}

.pic-details-demo-header ul li:nth-child(5):after {
  top: 6px;
}

/* 外壳 end */
/* 标题 */
.pic-details-demo-title {
  width: 95%;
  margin: 20px auto;
  text-align: center;
}

.pic-details-demo-title h1 {
  color: #666666;
  font-size: 26px;
}

.pic-details-demo-title p {
  color: #878787;
  font-size: 12px;
}

/* 图片 */
.pic-details-demo-image-wrapper {
  position: relative;
  list-style: none;
  width: 500px;
  height: 290px;
  margin: auto;
}

.pic-details-demo-image-wrapper li {
  width: 110px;
  height: 76px;
  position: absolute;
}

.pic-details-demo-image-box-shadow {
  box-shadow: 0 0 0 rgba(140, 140, 140, 0);
  height: 100%;
  transition: box-shadow .3s;
}

.pic-details-demo-image-wrapper li.open .pic-details-demo-image-box-shadow {
  box-shadow: 0 2px 8px rgba(140, 140, 140, 50);
}

.pic-details-demo-image-wrapper li a {
  width: 110px;
  z-index: 1;
  display: inline-block;
  position: absolute;
}

.pic-details-demo-image-wrapper li a, .pic-details-demo-image-wrapper li a img {
  display: block;
}

.pic-details-demo-text-wrapper {
  width: 50%;
  background: #fff;
  padding: 10px 15px;
  height: 175px;
  vertical-align: top;
  display: inline-block;
  position: absolute;
}

.pic-details-demo-text-wrapper h1 {
  font-size: 18px;
  margin: 5px auto;
}

.pic-details-demo-text-wrapper i {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.pic-details-demo-text-wrapper em {
  height: 2px;
  width: 60px;
  background: #FA1F4E;
  border-radius: 2px;
  display: block;
}

.pic-details-demo-text-wrapper p {
  font-size: 12px;
  margin-top: 10px;
  line-height: 16px;
}
@media screen and (max-width: 414px) {
  .pic-details-demo{
    transform: scale(.65) translateX(12px);
    transform-origin: left center;
  }
}
@media screen and (max-width: 375px) {
  .pic-details-demo{
    transform: scale(.6) translateX(7px);
  }
}
@media screen and (max-width: 320px) {
  .pic-details-demo{
    transform: scale(.5) translateX(12px);
  }
}
